package com.example.service;

import com.example.entity.Product;
import com.example.entity.Result;
import com.example.page.Page;

/**
 * @Author:tjf
 * @Description:
 */
public interface ProductService {
    void queryProductByConditionForPagination(Page page, Product product);
    Result saveProduct(Product product);
    Product queryProductByProductNum(String productNum);
    Result modifyProductStateById(Product product);
    Result removeProductById(Integer id);
    Result updateProductById(Product product);
}
